ray=out alternative